package com.hhkj.study.api.index.model.res;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.hhkj.study.admin.goods.model.res.GoodsRes;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * @Author luowu
 * @Date 2024/9/30 涵 13:47:00
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class ApiGoodsListRes extends GoodsRes {

    /**
     * 总课时
     */
    private Integer lessonCount;

    /**
     * 总课程时长(s)
     */
    private Long lessonDuration;

    @JsonIgnore
    @Override
    public List<Long> getTeacherIdList() {
        return super.getTeacherIdList();
    }
}
